; start of configureable part of tlastartup for formula

; stackregister is currently used for the stack used by formula
; if you change this register you have to change the same in
; !formula.formula0_6

stackregister .EQU R12 

; tempregister is currently used for the temporary used by formula
; if you change this register you have to change the same in
; !formula.formula0_6

tempregister .EQU R11

; if all formula-commands see the same stackregister, then you should use 
;
; formulastackregistersave .EQU FALSE
;
; instead of the following command, cause it's very faster ....
; (if you set formulastackregistersave to false and if you have to change the 
; contence of stackregister between to formula-commands (e.g. ;LET),   
; you have to save it before your assembler-operation and restore it before
; the next formula-command occure)
; ****************************************************************************
; if you set formulastackregistersave to FALSE and destroy the contence of 
; stackregister between 2 formula-commands, ALL SORTS OF ERRORS MAY OCCURE
; ****************************************************************************
 
formulastackregistersave .EQU TRUE

; If your program don't use tempregister, you should use  
;
; formulatempregistersave .EQU FALSE
;
; instead of the following command, cause it's faster ....
; ****************************************************************************
; if you set formulatempregistersave to false then formula will destroy the 
; contence of tempregister inside a formula-command  
; ****************************************************************************

formulatempregistersave .EQU TRUE

; If your program don't need to know the flags from the command before the
; formulacommand, you should use  
;
; formulaflagsave .EQU FALSE
;
; instead of the following command, cause it's faster ....
; ****************************************************************************
; if you set formulatempregistersave to false then formula may destroy the 
; contence of the flags inside a formula-command  
; ****************************************************************************

formulaflagsave .EQU TRUE

; insert here the length of the internal stack you need
; programs with high nested procedures need a bigger stack
; (be careful with a too short stack, there is currently no checking if the
; stack grows into program ...) 

formulastacklength .EQU 4096.

; maximal length of Command_keyword of a SIMPLE_MODULE

Command_keyword_length .EQU 20.

; select one of the following integer division routines with setting the 
; symbol to TRUE (the others should be FALSE)

; shortest and very slowest routine (default)
SHORT .EQU TRUE
; faster routine
MUFTI .EQU FALSE
; more faster routine, posted to comp.sys.acorn by Conrad Hughes
HUGHES .EQU FALSE
; fastest routine, posted to comp.sys.acorn by Greame Williams 
WILLIAMS .EQU FALSE 
; end of configureable part of tlastartup for formula
 
